package com.ruoyi.schoolSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 留言板对象 leave_msg
 * 
 * @author ruoyi
 * @date 2024-02-19
 */
public class LeaveMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 留言人id */
    @Excel(name = "留言人id")
    private Long leaveUserId;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String msg;

    /** 处理标识（已处理） */
    private String dealType;

    /** 是否为回复内容 */
    private Integer isReply;

    /** 回复的留言的id */
    private Long replyId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLeaveUserId(Long leaveUserId) 
    {
        this.leaveUserId = leaveUserId;
    }

    public Long getLeaveUserId() 
    {
        return leaveUserId;
    }
    public void setMsg(String msg) 
    {
        this.msg = msg;
    }

    public String getMsg() 
    {
        return msg;
    }
    public void setDealType(String dealType) 
    {
        this.dealType = dealType;
    }

    public String getDealType() 
    {
        return dealType;
    }
    public void setIsReply(Integer isReply) 
    {
        this.isReply = isReply;
    }

    public Integer getIsReply() 
    {
        return isReply;
    }
    public void setReplyId(Long replyId) 
    {
        this.replyId = replyId;
    }

    public Long getReplyId() 
    {
        return replyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("leaveUserId", getLeaveUserId())
            .append("msg", getMsg())
            .append("dealType", getDealType())
            .append("isReply", getIsReply())
            .append("replyId", getReplyId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
